<?php

class AuthorsController extends Controller
{
	
	public function index()
	{
		/*$author = new Author();
		$author->id = 1;
		$author->name = "Cool man";
		$author->email = "dmitry@codingrobots.com";
		$author->password = "12345";
		$author->save(); */
		
		//$this->author->name = "Mister Y";
		//$this->author->save();
		
		$this->authors = Author::find("Author");
		//echo ($this->authors[1]->posts[0]->title);
		//$this->posts = Post::find("Post");
	}
}


?>